#ifndef CT_CONFIG_H
#define CT_CONFIG_H

#define CT_SYSCLK 24000000UL    // Hz
/***************************  MCU Select **************************/
// #define _USE_BOOTLOADER_ // Enable bootloader
#define _USE_NUVOTON_    // Nuvoton MCU family definition
// #define _NUVOTON_ML51_ // ML51LD1AE_M51_ML54_ML56
// #define _NUVOTON_MG51_    // MG51FC9AE_XC9AE_XC9BE_FB9AE_XB9AE_XB9BE
#define _NUVOTON_MS51_

/***************************  MCU Select **************************/

/*********************** NUVOTON MCU family ***********************/

#if defined(_USE_NUVOTON_)

#if defined(_NUVOTON_MG51_)
#include "numicro_8051.h"
#elif defined(_NUVOTON_ML51_)
#include "ML51.h"
#elif defined(_NUVOTON_MS51_)
#include "numicro_8051.h"
#else
#error "Please select MCU family."
#endif    // _NUVOTON_MG51_
#endif    // _NUVOTON_
/*********************** NUVOTON MCU family ***********************/

#endif    // CT_CONFIG_H
